package net.redxyz.open.api.model;

import org.zhiqim.kernel.json.Jsons;

/**
 * 
 * 日统计模板
 * 
 * @version v7.0.1 @author lgz 2021-10-22 新建与整理
 */
public class ApiStatDayModel
{
    private String day; // 调用日期 yyyy-MM-dd
    private int total; // 调用总量
    private int succ; // 成功数
    private int fail; // 失败数
    
    public String getDay()
    {
        return day;
    }
    
    public void setDay(String day)
    {
        this.day = day;
    }
    
    public int getTotal()
    {
        return total;
    }
    
    public void setTotal(int total)
    {
        this.total = total;
    }
    
    public int getSucc()
    {
        return succ;
    }
    
    public void setSucc(int succ)
    {
        this.succ = succ;
    }
    
    public int getFail()
    {
        return fail;
    }
    
    public void setFail(int fail)
    {
        this.fail = fail;
    }
    
    @Override
    public String toString()
    {
        return Jsons.toString(this);
    }
}
